﻿package core {
	import flash.display.Sprite;
	import flash.events.Event;
	import core.object.GameAnimation;

    public class Map extends Sprite {

        protected var _shooterPost:Array;
        protected var _lines:int;
        protected var _holes:Array;
        protected var _nodes:Array;
        protected var backGround:GameAnimation;

        public function Map(){
			this.addEventListener(Event.ADDED_TO_STAGE, this.addToStageHandler);
        }
		
        private function addToStageHandler(event:Event):void{
			this.mouseChildren = false;
			this.backGround = new GameAnimation(10000,false);
			this.addChild(this.backGround);
            this.removeEventListener(Event.ADDED_TO_STAGE, this.addToStageHandler);
        }
		
        public function get lines():int{
            return this._lines;
        }
		
        public function get shooterPost():Array{
            return (this._shooterPost);
        }
		
        public function get nodes():Array{
            return (this._nodes);
        }
		
        public function openHole(value:int):void{
        }
		
        public function closeHole(value:int):void{
        }

    }
}
